Skip to main content

Shrink Database

Description

The plugin is designed to shrink database in SQL server. Most databases require some free space to be available for regular day-to-day operations. If you shrink a database repeatedly and notice that the database size grows again, this indicates that the space that was shrunk is required for regular operations.

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
Connection:
2Server NameThe Hostname/Server Name/IP of the MSSQL Server. This field is mandatory. Drop down is available.
3Instance nameThe instance name of MSSQL Server instance. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
4PortThe port number of the MSSQL Server. One of the two fields Instance name or Port is mandatory. Only variables/static values are allowed.
5UsernameA username of the MSSQL Server. This field is mandatory.
Password
6PasswordSpecify or select the password, as required.
If the checkbox Accept Value as variable/static is selected, then the password field appears as a text box and accepts static or variable values.
OR
If the checkbox Accept Value as variable/static is not selected, then the password field appears as a dropdown in which you can select a field from the previous steps.
7Other Connection ParameterSpecify multiple, semi-colon separated parameters other than the default connection parameters.
Other connection parameters will be appended to the default connection parameters.
Example of default connection parameters: Server Name, Password.
Examples of other connection parameters: encrypt=false;trustServerCertificate=false
Button
8Test ConnectionVerifies whether the connection is established or not.
NOTE: Test Connection button does not work for previous step fields. Test Connection button only works with static values and environment variables.
1Input Fields
2DatabaseName of the Database which to shrink. Field value is to be selected from the prompt by clicking on the Get databases button. This field is mandatory.
3Select databasesClicking on this button brings a dialog for the available databases on that particular SQL server instance. This field is mandatory.Select Database button does not work for previous step variables. Select Database button only works with static values and environment variables.
Output Field:
1ResultOutput field to hold the result of the successful plugin execution. This field is mandatory.
For step error handling refer to Error Handling